home *** CD-ROM | disk | FTP | other *** search
- Path: vixen.cso.uiuc.edu!usenet
- From: Dragos-Anton Manolescu <manolesc@uiuc.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: Q: static private variables/functions
- Date: 02 Apr 1996 15:38:36 -0600
- Organization: University of Illinois at Urbana-Champaign
- Message-ID: <op20m6tig2.fsf@sweetbay.will.uiuc.edu>
- References: <op3f6ntuoy.fsf@sweetbay.will.uiuc.edu>
- Reply-To: Dragos Manolescu <manolesc@uiuc.edu>
- NNTP-Posting-Host: sweetbay.will.uiuc.edu
- In-reply-to: Dragos-Anton Manolescu's message of 01 Apr 1996 17:01:49 -0600
- X-Newsreader: Gnus v5.1
-
- >>>>> "Me" == Dragos-Anton Manolescu <manolesc@uiuc.edu> writes:
-
- I wrote:
-
- > I'm trying to use a class with several static private variables
- > and functions. Here's a piece from my code (have left just one
- > variable and one function to keep the code clear):
-
- [stuff deleted]
-
- > Everything compiles Ok but apparently the linker is not able to
- > find the class variables:
-
- > All the class variables are private, and therefore used just by
- > the member functions.
-
- > What am I doing wrong here? I use g++ 2.7.2 and libg++ 2.7.1.3, if
- > that matters.
-
- Thanx for all who replied. I've seen the answer in the g++ FAQ
- meanwhile, now everything works fine.
-
- Thanx again!
- --
- dam http://www.uiuc.edu/ph/www/manolesc
-